package edu.scau.misp.backend_module.domain;

import java.io.Serializable;

public class DealDishAddition implements Serializable {

    private Long dealDishAdditionId;
    private Long dealSn;
    private Long dishAdditionSn;
    private Long dishQuantity;
    private Deal deal;
    private DishAddition dishAddition;

    @Override
    public String toString() {
        return "DealDishAddition{" +
                "dealDishAdditionId=" + dealDishAdditionId +
                ", dealSn=" + dealSn +
                ", dishAdditionSn=" + dishAdditionSn +
                ", dishQuantity=" + dishQuantity +
                ", deal=" + deal +
                ", dishAddition=" + dishAddition +
                '}';
    }

    public DealDishAddition(Long dealDishAdditionId, Long dealSn, Long dishAdditionSn, Long dishQuantity, Deal deal, DishAddition dishAddition) {
        this.dealDishAdditionId = dealDishAdditionId;
        this.dealSn = dealSn;
        this.dishAdditionSn = dishAdditionSn;
        this.dishQuantity = dishQuantity;
        this.deal = deal;
        this.dishAddition = dishAddition;
    }

    public DealDishAddition() {
    }

    public Long getDealDishAdditionId() {
        return dealDishAdditionId;
    }

    public void setDealDishAdditionId(Long dealDishAdditionId) {
        this.dealDishAdditionId = dealDishAdditionId;
    }

    public Long getDealSn() {
        return dealSn;
    }

    public void setDealSn(Long dealSn) {
        this.dealSn = dealSn;
    }

    public Long getDishAdditionSn() {
        return dishAdditionSn;
    }

    public void setDishAdditionSn(Long dishAdditionSn) {
        this.dishAdditionSn = dishAdditionSn;
    }

    public Long getDishQuantity() {
        return dishQuantity;
    }

    public void setDishQuantity(Long dishQuantity) {
        this.dishQuantity = dishQuantity;
    }

    public Deal getDeal() {
        return deal;
    }

    public void setDeal(Deal deal) {
        this.deal = deal;
    }

    public DishAddition getDishAddition() {
        return dishAddition;
    }

    public void setDishAddition(DishAddition dishAddition) {
        this.dishAddition = dishAddition;
    }
}
